﻿@page "/gateway/devicestatus"
@namespace ThingsGateway.Gateway.Razor
@using ThingsGateway.Admin.Application
@using ThingsGateway.Admin.Razor
@using ThingsGateway.Debug
@using ThingsGateway.Gateway.Application
@using ThingsGateway.Core.Extension
@attribute [Authorize]
@attribute [RolePermission]
@inherits ComponentDefault


<Tab>
    <TabItem Text=@Localizer["CollectDevice"]>
        <DeviceStatus Channels=Channels Devices=CollectDevices Plugins=Plugins DeviceQuery="CollectDeviceQuery" DeviceHostedService=@HostedServiceUtil.CollectDeviceHostedService DriverBases="CollectBases"></DeviceStatus>
    </TabItem>
    <TabItem Text=@Localizer["BusinessDevice"]>
        <DeviceStatus Channels=Channels Devices=BusinessDevices Plugins=Plugins DeviceQuery="BusinessDeviceQuery" DeviceHostedService=@HostedServiceUtil.BusinessDeviceHostedService DriverBases="BusinessBases"></DeviceStatus>
    </TabItem>
</Tab>
